package com.astar.service;

import com.astar.entity.CustomMenu;
import com.astar.entity.Menu;
import com.astar.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色信息表 服务类
 * </p>
 *
 * @author jobob
 * @since 2020-01-17
 */
public interface IRoleService extends IService<Role> {

    List<Role> selectList(String name);

    int delete(Role role);

    List<CustomMenu> selectAllTree();
}
